
package bank.soap.server.jaxws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "transfer", namespace = "http://server.soap.bank/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "transfer", namespace = "http://server.soap.bank/", propOrder = {
    "from",
    "to",
    "amount"
})
public class Transfer {

    @XmlElement(name = "from", namespace = "")
    private String from;
    @XmlElement(name = "to", namespace = "")
    private String to;
    @XmlElement(name = "amount", namespace = "")
    private double amount;

    /**
     * 
     * @return
     *     returns String
     */
    public String getFrom() {
        return this.from;
    }

    /**
     * 
     * @param from
     *     the value for the from property
     */
    public void setFrom(String from) {
        this.from = from;
    }

    /**
     * 
     * @return
     *     returns String
     */
    public String getTo() {
        return this.to;
    }

    /**
     * 
     * @param to
     *     the value for the to property
     */
    public void setTo(String to) {
        this.to = to;
    }

    /**
     * 
     * @return
     *     returns double
     */
    public double getAmount() {
        return this.amount;
    }

    /**
     * 
     * @param amount
     *     the value for the amount property
     */
    public void setAmount(double amount) {
        this.amount = amount;
    }

}
